import type { RouteRecordRaw } from 'vue-router';

import { VBEN_LOGO_URL } from '@vben/constants';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: VBEN_LOGO_URL,
      order: 6,
      title: '报表',
    },
    name: 'report',
    path: '/report',
    children: [
      {
        name: 'reportStock',
        path: '/report/stock',
        component: () => import('#/views/report/stock/index.vue'),
        meta: {
          icon: 'lucide:copyright',
          title: '校验科出入库表',
        },
      },
    ],
  },
];

export default routes;
